package com.dios.mirage.component.view;

import net.rim.device.api.system.Display;
import net.rim.device.api.ui.Manager;

import com.dios.mirage.component.DescriptionFieldManager;

public class SelectView extends View {

	private DescriptionFieldManager descFieldManager;

	public void createGUI() {
		descFieldManager = new DescriptionFieldManager(
				Manager.NO_HORIZONTAL_SCROLL);
		add(list);
		add(content);
		add(descFieldManager);
	}

	public void addImage(String text, String hover, String slide,
			boolean firstImage) {
		// TODO Auto-generated method stub

	}

	public void setContent(String target, String text, String desc) {
		contentField.setImage(getImage(target, Display.getWidth(), new Double(Display.getWidth()*40/100).intValue()));
		descFieldManager.getTitleLabel().setText(text);
		descFieldManager.getDescLabel().setText(desc);
	}
}